<template>
  <div>
    <h3>父组件</h3>
    <hr>
<p>父组件a {{num}}</p>
<p>父组件b {{num2}}</p>
    <son :a.sync="num" :b.sync="num2" />
  </div>

</template>

<script>
import son from './son.vue'
export default {
  components: { son },
  data() {
    return {
      num:10,
      num2:20
    }
  },
}
</script>

<style>

</style>
